﻿
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Learun.Application.WorkFlow

{
    /// <summary>
    /// 版 本 PIT-ADMS V7.0.3 敏捷开发框架
    /// Copyright (c) 2013-2018 Hexagon PPM
    /// 创 建：超级管理员
    /// 日 期：2020-08-24 15:42
    /// 描 述：模型提资
    /// </summary>
    public class ZSJT_BIMCD_CapitalRaisingEntity 
    {
        #region 实体成员
        /// <summary>
        /// CapitalRaisingID
        /// </summary>
        /// <returns></returns>
        [SugarColumn(ColumnName = "CAPITALRAISINGID")]
        public string CapitalRaisingID { get; set; }
        /// <summary>
        /// ProcessId
        /// </summary>
        /// <returns></returns>
        [SugarColumn(ColumnName = "PROCESSID")]
        public string ProcessId { get; set; }
        /// <summary>
        /// ModelFileID
        /// </summary>
        /// <returns></returns>
        [SugarColumn(ColumnName = "MODELFILEID")]
        public string ModelFileID { get; set; }
        /// <summary>
        /// ApprovalReMark
        /// </summary>
        /// <returns></returns>
        [SugarColumn(ColumnName = "APPROVALREMARK")]
        public string ApprovalReMark { get; set; }
        /// <summary>
        /// CreateUserID
        /// </summary>
        /// <returns></returns>
        [SugarColumn(ColumnName = "CREATEUSERID")]
        public string CreateUserID { get; set; }
        /// <summary>
        /// CreateTime
        /// </summary>
        /// <returns></returns>
        [SugarColumn(ColumnName = "CREATETIME")]
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// UpdateUserID
        /// </summary>
        /// <returns></returns>
        [SugarColumn(ColumnName = "UPDATEUSERID")]
        public string UpdateUserID { get; set; }
        /// <summary>
        /// UpdateTime
        /// </summary>
        /// <returns></returns>
        [SugarColumn(ColumnName = "UPDATETIME")]
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// CapitalRaisingMajorCode
        /// </summary>
        /// <returns></returns>
        [SugarColumn(ColumnName = "CAPITALRAISINGMAJORCODE")]
        public string CapitalRaisingMajorCode { get; set; }
        /// <summary>
        /// ReviewMajorCode
        /// </summary>
        /// <returns></returns>
        [SugarColumn(ColumnName = "REVIEWMAJORCODE")]
        public string ReviewMajorCode { get; set; }
        /// <summary>
        /// CapitalRaisingRole
        /// </summary>
        /// <returns></returns>
        [SugarColumn(ColumnName = "CAPITALRAISINGROLE")]
        public string CapitalRaisingRole { get; set; }

        /// <summary>
        /// 审核角色用户集合
        /// </summary>
        /// <returns></returns>
        [SugarColumn(ColumnName = "ROLEUSERLIST")]
        public string RoleUserList { get; set; }

        #endregion

        #region 扩展操作
        /// <summary>
        /// 新增调用
        /// </summary>
        public void Create()
        {
            this.CapitalRaisingID = Guid.NewGuid().ToString();
        }
        /// <summary>
        /// 编辑调用
        /// </summary>
        /// <param name="keyValue"></param>
        public void Modify(string keyValue)
        {
            this.CapitalRaisingID = keyValue;
        }
        #endregion
        #region 扩展字段

        /// <summary>
        /// 模型名称
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string ModelFileName { get; set; }
        /// <summary>
        /// 分类的完整路径
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string FullPath { get; set; }
        /// <summary>
        /// 项目Id
        /// </summary>
        [SugarColumn(IsIgnore = true)]

        public string ProjectId { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        [SugarColumn(IsIgnore = true)]

        public string ProjectName { get; set; }

        /// <summary>
        /// 图册ID
        /// </summary>
        [SugarColumn(IsIgnore = true)]

        public string LayerID { get; set; }


        /// <summary>
        /// 模型路径地址
        /// </summary>
        [SugarColumn(IsIgnore = true)]

        public string ModelFilePath { get; set; }

        /// <summary>
        /// 提资专业名称
        /// </summary>
        [SugarColumn(IsIgnore = true)]

        public string CapitalRaisingMajorName { get; set; }
        /// <summary>
        /// 流程进程状态  是否结束
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public int IsFinished { get; set; }
        #endregion
    }
}

